﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Recipe
{
    public interface IRecipeIngredients
    {
        void AddIngredientToRecipe(int recipeId, int foodIngredientId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void AddIngredientToRecipe(Model.RecipeIndgredient ingredient, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void RemoveIngredientFromRecipe(int recipeIngredientId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void UpdateRecipeIngredient(Model.RecipeIndgredient ingredient, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        List<Model.RecipeIndgredient> GetAllRecipeSteps(int recipeId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        Model.RecipeIndgredient GetRecipeStep(int recipeIngredientId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);
    }
}